import { requestClient } from '#/api/request';

/**
 * 获取字典表格数据
 */
async function getDictionary(params: any) {
  return requestClient.get('/basics-system/dict/dictionary', { params });
}

async function getBusDictionary(params: any) {
  return requestClient.get('/basics-system/business-dict/dictionary', {
    params,
  });
}

export { getBusDictionary, getDictionary };
